home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-12-15 | 2.6 KB | 79 lines | [TEXT/ttxt] |
- PolyPumper_1.4.c.sit.hqx - Think C 5.
- ------------------------
-
- This is an itty bitty bytes(tm) production. It was derived from
- modifications of two source code projects. "RadarScope" which
- was my version of the radar part of "BuzyBox" of MacHack fame, and
- of the Pascal source "SplatMaster" by John Benton.
-
- PolyPumper 1.4 has increased controls over the 1.2 version, and
- includes a splash screen.
-
- The splash was created with Color It! 2.3, from MicroFrontier,
- and background pattern was created in "SplatMaster 2.0" (soon to
- be released, in Think Pascal).
-
- Functionality:
-
- (Warning: Does not check for multiple monitors.)
- Puts up a full screen window, sans MBar, draws radial polygons,
- with divisions set at 12, radii at random, painted and framed
- over a white background.
-
- I changed and added some key controls since PolyPumper 1.2.
-
- These key hits control and exit (no modifier keys necessary).
-
- + Increase divisions by two (noticable with div. not rand).
- - Decrease divisions by two (noticable with div. not rand).
- * Pause or not.
- A About PolyPumper 1.4.
- B Black background or not.
- C Clear window once.
- D Divisons random or not.
- F Frame polygons or not.
- K Key Hit Commands.
- P Paint polygons or not.
- R Radii random or not.
- S Erase window after 1 second delay, or not.
- Q Quit PolyPumper 1.4.
-
- Obviously if you have frame ('f') off and paint ('p') off, you'll
- not see any drawing. Nor will you at "pause" (duh).
-
- Screen capture can work any time, but single ('s') only pauses to a
- blank screen.
-
- With black background, multi-poly's (for a while) and then turn
- off paint, the frame-only drawing can be interesting.
-
- Paint off and single on is line-art (duh).
-
- Frame on, paint off, for wire frames. But hit '*' (pause), then
- 'c' (clears drawings), then '**' for about three draws (can't outrun
- the CPU). A '*c**' sequence can produce some nice patterns for your
- next woodworking or stained glass project. :^)
-
- For novice, Mac C programmers
- ------------------------------
- This source shows how to:
-
- How to hide and show the menu bar.
- How to do one form of color check.
- How to create a full-screen color window (no multi-monitor check).
- How to do one kind of splash screen.
- How to draw and RGB fill polygons (though not simply).
- How to use single key hits to control action and exit.
- How to set RGB fore and back colors with one line.
- How to draw colored text into the window.
- How to get random values in a range you set in the call.
- How to install toggles of actions, including pause.
- (etc.)
-
- Any suggestions are welcome. This is a Public Domain source code
- project.
-
- Enjoy!!!
-
- kenlong@netcom.com
-